package org.mirim.nmt;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.ImageButton;

public class ChoiceLevel extends Activity{
	@Override
	 public void onCreate(Bundle savedInstanceState) {
	        super.onCreate(savedInstanceState);
	        setContentView(R.layout.choicelevel);   
	        
	        ImageButton level1=(ImageButton)findViewById(R.id.btn_level1);
	        level1.setOnClickListener(new ImageButton.OnClickListener(){
	        	public void onClick(View v){
	        		Intent intent=(new Intent(ChoiceLevel.this,StartGame1.class));
	        		startActivity(intent);
	        	}}); //level1  
	        
	        ImageButton level2=(ImageButton)findViewById(R.id.btn_level2);
	        level2.setOnClickListener(new ImageButton.OnClickListener(){
	        	public void onClick(View v){
	        		Intent intent=(new Intent(ChoiceLevel.this,StartGame2.class));
	        		startActivity(intent);
	        	}}); //level2 
	        
	       ImageButton level3=(ImageButton)findViewById(R.id.btn_level3);
	        level3.setOnClickListener(new ImageButton.OnClickListener(){
	        	public void onClick(View v){
	        		Intent intent=(new Intent(ChoiceLevel.this,StartGame3.class));
	        		startActivity(intent);
	        	}}); //level3 
	        
	        ImageButton level4=(ImageButton)findViewById(R.id.btn_level4);
	        level4.setOnClickListener(new ImageButton.OnClickListener(){
	        	public void onClick(View v){
	        		Intent intent=(new Intent(ChoiceLevel.this,StartGame4.class));
	        		startActivity(intent);
	        	}}); //level4 
	        
	        ImageButton level5=(ImageButton)findViewById(R.id.btn_level5);
	        level5.setOnClickListener(new ImageButton.OnClickListener(){
	        	public void onClick(View v){
	        		Intent intent=(new Intent(ChoiceLevel.this,StartGame5.class));
	        		startActivity(intent);
	        	}}); //level5  
	        
	}
	}